package com.hubao.flutter_weight_parser.protocol.exception;

import com.hubao.flutter_weight_parser.protocol.WeightProtocol;
import org.mozilla.javascript.NativeArray;

import java.util.Arrays;

public class WeightParseException extends WeightProtocolException {
    public WeightParseException(String name, NativeArray array) {
        super("协议:" +name+" 解析失败   --- " + Arrays.toString(array.toArray()));
    }
}
